#ifdef ONLINE_JUDGE
    #include<stdio.h>
    #include<stdlib.h>
    #define INPUT stdin
    #define LLINT1 "%lli\n"//For Linux
    #define LLINT2 " %lli %lli"//For Linux
    int main() {
#else
    #include"header.h"
    #define INPUT fptIn
    #define LLINT1 "%I64d\n"//For Windows
    #define LLINT2 " %I64d %I64d"//For Windows
    int acm_10055() {
        printf("--ACM 10055 begin here--\n");
        FILE *fptIn = fopen("Resource/acm_10055.txt","r");
        if ( fptIn == NULL )//Distinguish the fptInIn file is load success.
        {
            printf("File acm_10055.txt load fail.\n");
            printf("Program will exit.\n");
            return EXIT_FAILURE;
        }
#endif
    long long int has, ene, x;
    while ( fscanf(INPUT,LLINT2, &has, &ene) == 2 ) {
        x = has - ene;
        if (x < 0) {
            x = -x;
        }
        printf(LLINT1, x);
    }
    #ifndef ONLINE_JUDGE
        printf("--ACM 10055 end here--\n");
        fclose(fptIn);
    #endif
    return 0;
}

/*
   #    Problem                              Verdict    Language   Run Time       Submission Date 
8007933 10055 Hashmat the Brave Warrior      Accepted    ANSI C      0.064      2010-05-31 11:31:22 
 */
